.error      { color: red; }

.leftalign  { float: left; }
.centered   { text-align: center; }
.rightalign { float: right; }

th { text-align: left; }

.tooltip-content {
    display: none;        /* required */
    position: absolute;   /* required */
    padding: 10px;
    border: 1px solid black;
    background-color: white;
    text-align: left;
}

a:link {
    text-decoration: none;
    color: black;
    font-weight: bold;
}
a:visited {
    text-decoration: none;
    color: black;
    font-weight: bold;
}
a:active {
    text-decoration: none;
    color: black;
    font-weight: bold;
}
a:hover {
    text-decoration: none; 
    color: blue;
    font-weight: bold;
}

body {
    margin: 8px;
    background-image: -webkit-gradient(
            linear,
            left bottom,
            left top,
            color-stop(0, rgb(161,181,194)),
            color-stop(0.5, rgb(107,131,140)),
            color-stop(1, rgb(161,181,194))
    );
    background-image: -moz-linear-gradient(
            center bottom,
            rgb(161,181,194) 0%,
            rgb(107,131,140) 50%,
            rgb(161,181,194) 100%
    );
}

#header {
    text-align: center;
    border: 4px solid;
    vertical-align: middle;  
    
    border-left-color: #E0E0E0;
    border-right-color: #E0E0E0;
    border-top-color: #E0E0E0;
    border-bottom-color: #E0E0E0;
    
    background-color: #D4D4D4;
    border-radius: 15px;
    -moz-border-radius: 15px;     /* Firefox 3.6 and earlier */
    -webkit-border-radius: 15px;     /* Safari */
    padding-bottom: 10px;
    padding-top: 10px;
    
    margin-bottom: 20px;
    
    background: -webkit-gradient(
        linear, 0 50%, 0 100%, from(#D4D4D4), to(#E0E0E0)
    );

    background: -moz-linear-gradient(
        top, white, #D4D4D4, #E0E0E0
    );
}

#header img {
    position: absolute;
    top: 13px;
    left: 13px;
}

#sidebar {
    float: left;
    width: 275px;
    padding: 10px;
    
    border-radius: 15px;
    -moz-border-radius: 15px; /* Firefox 3.6 and earlier */
    -webkit-border-radius: 15px; /* Safari */
    background-color: #E0E0E0;
}

#sidebar h2 {
    font-size: 1em;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

#sidebar form input { width: 100%; }
#sidebar #menu { list-style-type: square; }

#content {
    margin-left: 315px;
    background-color: #E0E0E0;
    min-height: 315px;
    padding: 10px;
    border-radius: 15px;
    -moz-border-radius: 15px; /* Firefox 3.6 and earlier */
    -webkit-border-radius: 15px; /* Safari */
}

#content h2 {
    text-align: center; 
    width: 100%;
    border: 4px solid;
    
    padding: 0;
    margin: 0;
    
    border-left-color: #E0E0E0;
    border-right-color: #E0E0E0;
    border-top-color: #E0E0E0;
    border-bottom-color: #E0E0E0;
    
    background-color: #D4D4D4;
    
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    -moz-border-radius-topright: 15px;
    -moz-border-radius-topleft: 15px;
    -webkit-border-top-right-radius: 15px;
    -webkit-border-top-left-radius: 15px;
    
    background: -webkit-gradient(
        linear, 0 50%, 0 100%, from(#D4D4D4), to(#E0E0E0)
    );

    background: -moz-linear-gradient(
        top, white, #D4D4D4, #E0E0E0
    );
}

#footer {
    text-align: center;
    background-color: #E0E0E0;
    border-radius: 15px;
    -moz-border-radius: 15px; /* Firefox 3.6 and earlier */
    -webkit-border-radius: 15px; /* Safari */
    padding: 3px;
    margin-top: 20px;
}

#login {
    width: 300px;
    margin: 0 auto;
    background-color: #E0E0E0;
    border-radius:15px;
    -moz-border-radius:15px; /* Firefox 3.6 and earlier */
    -webkit-border-radius:15px; /* Safari */
    padding: 30px;
}
#login form table tr td { width: 150px; }
#login form table tr td input { width: 100%; }

#calendar {
    text-align: center;
    padding: 20px;
}

table.completions {
    padding: 10px;
    width: 100%;
}

table.timetable {
    background-color: #D4D4D4;
    padding: 5px;
    width: 85%;
    border-radius:15px;
    -moz-border-radius:15px; /* Firefox 3.6 and earlier */
    -webkit-border-radius:15px; /* Safari */
}

table.timetable select {
    width: 90%;
    size: 200px;
}

table.timetable input[type=text] { width: 90%; }

table.students {
    background-color: #D4D4D4;
    padding: 5px;
    width: 85%;
    border-radius:15px;
    -moz-border-radius:15px; /* Firefox 3.6 and earlier */
    -webkit-border-radius:15px; /* Safari */
}

h3, h4, h5, h6 {
    font-size: 1em;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
    padding: 0;
    margin: 0;
}